package com.eastmoney.emis.edda.domain.repository;

import com.eastmoney.emis.edda.domain.entity.EddiInstruction;

import java.util.Date;
import java.util.List;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.domain.repository
 * @author: 汪程程
 * @date: 2022/9/29 5:52 PM
 * @version: 1.0
 */
public interface HsbcEddiRepository {

    void saveDebitInstruction(EddiInstruction eddiInstruction);

    void addDebitInstruction(EddiInstruction eddiInstruction);

    void updateDebitInstruction(EddiInstruction eddiInstruction);

    void updateMandateId(EddiInstruction eddiInstruction);

    EddiInstruction findEddiByEid(String eid);

    List<EddiInstruction> findAllUncompletedByEITime(Date date);
}
